BaseSubsystem.Exists method

Checks whether the variable exists.

Namespace: IntervalZero.KINGSTAR.Base.Class

Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
bool Exists(
       string Name,
       IUserVariable Parent = null
)
Function Exists(
       Name As String,
       Parent = null As IUserVariable
) As Boolean

Parameters

Name

Type: string

The name of a variable.

 

Parent

Type: IUserVariable

Default value: null

The parent folder of IUserVariable. By default, it checks variables in the root folder.

Return value

Type: bool

Returns the existence of a user-defined variable.

Remarks

Usable EtherCAT states

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

See also

BaseSubsystem Class

IntervalZero.KINGSTAR.Base.Class Namespace